package io.framework.modules.water.service;

import io.framework.common.page.PageData;
import io.framework.common.service.CrudService;
import io.framework.modules.water.dto.OceanBuoyPointDTO;
import io.framework.modules.water.entity.OceanBuoyPointEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 海洋浮标点信息
 *
 * @author Gujq email
 * @since 1.0.0 2020-07-21
 */
public interface OceanBuoyPointService extends CrudService<OceanBuoyPointEntity, OceanBuoyPointDTO> {

    Boolean checkData(String stationCode, String month);

    Boolean deleteBatchByDate(String stationCode, List<Date> list);

    List<Map<String, Object>> getOceanInfoListByParams(Map<String, Object> params);

    List<Map<String, Object>> getOceanInfoLabel(Map<String, Object> params);

    OceanBuoyPointDTO getOceanInfoByStationCode(String stationCode);

    PageData<OceanBuoyPointDTO> pageList(Map<String, Object> params);
}
